let fs=require('fs');
function count(path) {
    return fs.readdirSync(path).length;
}
module.exports=count;